package annotation05;


/**
 * @注解名(给注解中属性赋值)
 */
@MyAnnotation(name="张三")
public class Person {

    //@MyAnnotation(name="老王")
	private int age;


	@MyAnnotation(name="李四",num=13)
	public int getAge() {
		return age;
	}

	public void setAge(int age) {//用在形参age上
		this.age = age;
	}
}
